/**
 * Created by Administrator on 2017/9/18.
 */
function verify(){

    var name = document.getElementById("name").value;
    var flag = true;
    if (name == null || name == ""){
        alert("不能输入空值");
        flag = false;
    }else {

        if (name != "zcy"){
            alert("请输入‘zcy’获取数据");
            flag = false;
        }
    }
    return flag;
}